package cvut.cz.via.android.users;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;

import cvut.cz.via.android.settings.Setting;

public class User implements Serializable {
	
	private String username;
	private String password;
	private LinkedList<String> subscribedCourses;
	private ArrayList<Setting> userSettings;
	
	
	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
		this.userSettings = new ArrayList<Setting>();
		this.subscribedCourses = new LinkedList<String>();
	}
	
	public User(String username, String password, LinkedList<String> subscribedCourses, ArrayList<Setting> userSettings) {
		super();
		this.username = username;
		this.password = password;
		this.subscribedCourses = subscribedCourses;
		this.userSettings = userSettings;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public LinkedList<String> getSubscribedCourses() {
		return subscribedCourses;
	}


	public void setSubscribedCourses(LinkedList<String> subscribedCourses) {
		this.subscribedCourses = subscribedCourses;
	}


	public ArrayList<Setting> getUserSettings() {
		return userSettings;
	}


	public void setUserSettings(ArrayList<Setting> userSettings) {
		this.userSettings = userSettings;
	}	

}
